<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head  th:replace="~{fragments/header :: header}">
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div class="container blog-content-container">
    <form action="/register" th:action="@{/register}"  method="post">
        <h2>Please Register</h2>
        <div class="form-group">
            <label for="username">用户名</label>
            <input type="text" name="username"  class="form-control" id="username" aria-describedby="nameHelp" placeholder="用户名">
        </div>
        <div class="form-group">
            <label for="name">姓名</label>
            <input type="text" name="name" class="form-control" id="name" aria-describedby="nameHelp" placeholder="姓名">
            <small id="nameHelp" class="form-text text-muted"></small>
        </div>
        <div class="form-group">
            <label for="email">Email address</label>
            <input type="email" name="email" class="form-control" id="email" aria-describedby="emailHelp" placeholder="Enter email">
            <small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
        </div>
        <div class="form-group">
            <label for="password">Password</label>
            <input type="password" name="password" class="form-control" id="password" placeholder="Password">
        </div>
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>
</div>
<div th:replace="~{fragments/footer :: footer}">...</div>
</body>
</html>